﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006AD RID: 1709
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetDailyActiveInfoScRsp : IMessage<GetDailyActiveInfoScRsp>, IMessage, IEquatable<GetDailyActiveInfoScRsp>, IDeepCloneable<GetDailyActiveInfoScRsp>, IBufferMessage
	{
		// Token: 0x170015FE RID: 5630
		// (get) Token: 0x06004D07 RID: 19719 RVA: 0x000D28F7 File Offset: 0x000D0AF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetDailyActiveInfoScRsp> Parser
		{
			get
			{
				return GetDailyActiveInfoScRsp._parser;
			}
		}

		// Token: 0x170015FF RID: 5631
		// (get) Token: 0x06004D08 RID: 19720 RVA: 0x000D28FE File Offset: 0x000D0AFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetDailyActiveInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001600 RID: 5632
		// (get) Token: 0x06004D09 RID: 19721 RVA: 0x000D2910 File Offset: 0x000D0B10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetDailyActiveInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06004D0A RID: 19722 RVA: 0x000D2917 File Offset: 0x000D0B17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetDailyActiveInfoScRsp()
		{
		}

		// Token: 0x06004D0B RID: 19723 RVA: 0x000D2938 File Offset: 0x000D0B38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetDailyActiveInfoScRsp(GetDailyActiveInfoScRsp other) : this()
		{
			this.dailyActiveQuestIdList_ = other.dailyActiveQuestIdList_.Clone();
			this.dailyActivePoint_ = other.dailyActivePoint_;
			this.retcode_ = other.retcode_;
			this.dailyActiveLevelList_ = other.dailyActiveLevelList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004D0C RID: 19724 RVA: 0x000D2996 File Offset: 0x000D0B96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetDailyActiveInfoScRsp Clone()
		{
			return new GetDailyActiveInfoScRsp(this);
		}

		// Token: 0x17001601 RID: 5633
		// (get) Token: 0x06004D0D RID: 19725 RVA: 0x000D299E File Offset: 0x000D0B9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DailyActiveQuestIdList
		{
			get
			{
				return this.dailyActiveQuestIdList_;
			}
		}

		// Token: 0x17001602 RID: 5634
		// (get) Token: 0x06004D0E RID: 19726 RVA: 0x000D29A6 File Offset: 0x000D0BA6
		// (set) Token: 0x06004D0F RID: 19727 RVA: 0x000D29AE File Offset: 0x000D0BAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DailyActivePoint
		{
			get
			{
				return this.dailyActivePoint_;
			}
			set
			{
				this.dailyActivePoint_ = value;
			}
		}

		// Token: 0x17001603 RID: 5635
		// (get) Token: 0x06004D10 RID: 19728 RVA: 0x000D29B7 File Offset: 0x000D0BB7
		// (set) Token: 0x06004D11 RID: 19729 RVA: 0x000D29BF File Offset: 0x000D0BBF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001604 RID: 5636
		// (get) Token: 0x06004D12 RID: 19730 RVA: 0x000D29C8 File Offset: 0x000D0BC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<DailyActivityInfo> DailyActiveLevelList
		{
			get
			{
				return this.dailyActiveLevelList_;
			}
		}

		// Token: 0x06004D13 RID: 19731 RVA: 0x000D29D0 File Offset: 0x000D0BD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetDailyActiveInfoScRsp);
		}

		// Token: 0x06004D14 RID: 19732 RVA: 0x000D29E0 File Offset: 0x000D0BE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetDailyActiveInfoScRsp other)
		{
			return other != null && (other == this || (this.dailyActiveQuestIdList_.Equals(other.dailyActiveQuestIdList_) && this.DailyActivePoint == other.DailyActivePoint && this.Retcode == other.Retcode && this.dailyActiveLevelList_.Equals(other.dailyActiveLevelList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004D15 RID: 19733 RVA: 0x000D2A54 File Offset: 0x000D0C54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.dailyActiveQuestIdList_.GetHashCode();
			if (this.DailyActivePoint != 0U)
			{
				num ^= this.DailyActivePoint.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.dailyActiveLevelList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004D16 RID: 19734 RVA: 0x000D2AC8 File Offset: 0x000D0CC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004D17 RID: 19735 RVA: 0x000D2AD0 File Offset: 0x000D0CD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004D18 RID: 19736 RVA: 0x000D2ADC File Offset: 0x000D0CDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DailyActivePoint != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.DailyActivePoint);
			}
			this.dailyActiveQuestIdList_.WriteTo(ref output, GetDailyActiveInfoScRsp._repeated_dailyActiveQuestIdList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			this.dailyActiveLevelList_.WriteTo(ref output, GetDailyActiveInfoScRsp._repeated_dailyActiveLevelList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004D19 RID: 19737 RVA: 0x000D2B58 File Offset: 0x000D0D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.dailyActiveQuestIdList_.CalculateSize(GetDailyActiveInfoScRsp._repeated_dailyActiveQuestIdList_codec);
			if (this.DailyActivePoint != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DailyActivePoint);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.dailyActiveLevelList_.CalculateSize(GetDailyActiveInfoScRsp._repeated_dailyActiveLevelList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004D1A RID: 19738 RVA: 0x000D2BD4 File Offset: 0x000D0DD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetDailyActiveInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.dailyActiveQuestIdList_.Add(other.dailyActiveQuestIdList_);
			if (other.DailyActivePoint != 0U)
			{
				this.DailyActivePoint = other.DailyActivePoint;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.dailyActiveLevelList_.Add(other.dailyActiveLevelList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004D1B RID: 19739 RVA: 0x000D2C46 File Offset: 0x000D0E46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004D1C RID: 19740 RVA: 0x000D2C50 File Offset: 0x000D0E50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 24U)
					{
						this.DailyActivePoint = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						goto IL_44;
					}
				}
				else
				{
					if (num == 50U)
					{
						goto IL_44;
					}
					if (num == 96U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 122U)
					{
						this.dailyActiveLevelList_.AddEntriesFrom(ref input, GetDailyActiveInfoScRsp._repeated_dailyActiveLevelList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_44:
				this.dailyActiveQuestIdList_.AddEntriesFrom(ref input, GetDailyActiveInfoScRsp._repeated_dailyActiveQuestIdList_codec);
			}
		}

		// Token: 0x04001E5D RID: 7773
		private static readonly MessageParser<GetDailyActiveInfoScRsp> _parser = new MessageParser<GetDailyActiveInfoScRsp>(() => new GetDailyActiveInfoScRsp());

		// Token: 0x04001E5E RID: 7774
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001E5F RID: 7775
		public const int DailyActiveQuestIdListFieldNumber = 6;

		// Token: 0x04001E60 RID: 7776
		private static readonly FieldCodec<uint> _repeated_dailyActiveQuestIdList_codec = FieldCodec.ForUInt32(50U);

		// Token: 0x04001E61 RID: 7777
		private readonly RepeatedField<uint> dailyActiveQuestIdList_ = new RepeatedField<uint>();

		// Token: 0x04001E62 RID: 7778
		public const int DailyActivePointFieldNumber = 3;

		// Token: 0x04001E63 RID: 7779
		private uint dailyActivePoint_;

		// Token: 0x04001E64 RID: 7780
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04001E65 RID: 7781
		private uint retcode_;

		// Token: 0x04001E66 RID: 7782
		public const int DailyActiveLevelListFieldNumber = 15;

		// Token: 0x04001E67 RID: 7783
		private static readonly FieldCodec<DailyActivityInfo> _repeated_dailyActiveLevelList_codec = FieldCodec.ForMessage<DailyActivityInfo>(122U, DailyActivityInfo.Parser);

		// Token: 0x04001E68 RID: 7784
		private readonly RepeatedField<DailyActivityInfo> dailyActiveLevelList_ = new RepeatedField<DailyActivityInfo>();
	}
}
